FROM java:8

EXPOSE 8338

COPY *.jar /app.jar

ADD campus_back-0.0.1-SNAPSHOT.jar app.jar

RUN bash -c 'touch /app.jar'

ENTRYPOINT ["java", "-jar", "/app.jar"]